<!--表格行-->
<template>
  <el-table-column :sortable="sortable" :prop="property" :label="label" :width="width">
    <!--行内图片查看-->
    <table-image slot-scope="{row, column, $index}"
                 :row="row"
                 :field="property"
                 :value="row[property]"></table-image>
  </el-table-column>
</template>

<script>
/* eslint-disable */
import TableImage from "./table-image"

/**
 * 表格行级行内图片展示
 */
export default {
    name: "SeaColImage"
    , components: {TableImage}
    , props: {
        // 宽度
        width: {type: [Number, String], default: undefined}
        // 字段名
        , property: String
        // 列名
        , label: String
        // 列名
        , sortable: {type: [Boolean, String], default: false}
    }
}
</script>
